#include "IMenu.h"
#include "MenuMgr.h"
#pragma once
class App {
public:
	App() { }
	~App() { }
public:
	void init();
	void run() {
		bool gameOver = false;
		while(!gameOver) {
			IMenu * menu = MenuMgr::getInstance().activeMenu();
			if(menu == nullptr) {
				break;
			}
			gameOver = menu->process();
		}
	}
	void term();
};

